#if !defined(AFX_CONFIRMSTANDARDDLG_H__3393C97B_C8CE_4C0D_9673_C60824C8FDAA__INCLUDED_)
#define AFX_CONFIRMSTANDARDDLG_H__3393C97B_C8CE_4C0D_9673_C60824C8FDAA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ConfirmStandardDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CConfirmStandardDlg dialog
#include "PHSShareRes.h"
#include "rudeDBProductCatalogManager.h"

class CConfirmStandardDlg : public CDialog
{
/*
	typdef CArray<CrudeDBProductCatalogManager*,
		CrudeDBProductCatalogManager*>
*/
// Construction
public:
	void SetPartsID(CString & strPartsType);
	CConfirmStandardDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CConfirmStandardDlg)
	enum { IDD = IDD_SelectStandard };
	CComboBox	m_fCombo;
	CListBox	m_List;
	CComboBox	m_TypeCombo;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CConfirmStandardDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CString m_strPartsID;
	virtual BOOL OnInitDialog();

	// Generated message map functions
	//{{AFX_MSG(CConfirmStandardDlg)
	afx_msg void OnConfirmStandard();
	virtual void OnCancel();
	afx_msg void OnSelchangeCombo2();
	afx_msg void OnSelchangeFactory();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CrudeDBProductCatalogManager* m_pHeadDB;
	void InitFactory();
	CString GetFileName(CString& strFilePath);
	CrudeDBProductCatalogManager* m_pDBMan;
	CString m_strFilePath;
	void InitList(int flag=0);
public:
	void SetFilePath(CString& strFilePath);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CONFIRMSTANDARDDLG_H__3393C97B_C8CE_4C0D_9673_C60824C8FDAA__INCLUDED_)
